-- MySQL dump 10.13  Distrib 5.1.66, for hardfloat-linux-gnueabi (armv6j)
--
-- Host: localhost    Database: beerwatch
-- ------------------------------------------------------
-- Server version	5.1.66-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `currenttemps`
--

DROP TABLE IF EXISTS `currenttemps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `currenttemps` (
  `readingtime` datetime DEFAULT '0000-00-00 00:00:00',
  `temp_index` int(11) DEFAULT NULL,
  `temp` varchar(80) DEFAULT NULL,
  KEY `idx_readingtime` (`readingtime`),
  KEY `idx_temp_index` (`temp_index`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `currenttemps`
--

LOCK TABLES `currenttemps` WRITE;
/*!40000 ALTER TABLE `currenttemps` DISABLE KEYS */;
/*!40000 ALTER TABLE `currenttemps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gpiotoheat`
--

DROP TABLE IF EXISTS `gpiotoheat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gpiotoheat` (
  `pin` int(11) DEFAULT NULL,
  `gpio` int(11) DEFAULT NULL,
  `temp_index` int(11) DEFAULT NULL,
  UNIQUE KEY `pin` (`pin`),
  UNIQUE KEY `gpio` (`gpio`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gpiotoheat`
--

LOCK TABLES `gpiotoheat` WRITE;
/*!40000 ALTER TABLE `gpiotoheat` DISABLE KEYS */;
INSERT INTO `gpiotoheat` VALUES (26,7,1),(24,8,2),(22,25,4),(18,24,4),(16,23,5),(23,11,6),(21,9,7),(19,10,8),(15,22,9);
/*!40000 ALTER TABLE `gpiotoheat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hltmash`
--

DROP TABLE IF EXISTS `hltmash`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hltmash` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hlt_probe` int(11) DEFAULT NULL,
  `mash_probe` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hltmash`
--

LOCK TABLES `hltmash` WRITE;
/*!40000 ALTER TABLE `hltmash` DISABLE KEYS */;
INSERT INTO `hltmash` VALUES (1,0,0);
/*!40000 ALTER TABLE `hltmash` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `last_readings`
--

DROP TABLE IF EXISTS `last_readings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `last_readings` (
  `readingtime` datetime DEFAULT '0000-00-00 00:00:00',
  `temp_index` int(11) DEFAULT NULL,
  KEY `idx_readingtime` (`readingtime`),
  KEY `idx_temp_index` (`temp_index`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `last_readings`
--

LOCK TABLES `last_readings` WRITE;
/*!40000 ALTER TABLE `last_readings` DISABLE KEYS */;
/*!40000 ALTER TABLE `last_readings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `temps`
--

DROP TABLE IF EXISTS `temps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `temps` (
  `temp_index` int(11) DEFAULT NULL,
  `temp` int(11) DEFAULT NULL,
  `variance` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `water_to_grain` decimal(3,2) DEFAULT NULL,
  `real_temp` decimal(6,2) DEFAULT NULL,
  `off` tinyint(4) NOT NULL DEFAULT '0',
  `og` varchar(25) DEFAULT NULL,
  `fg` varchar(25) DEFAULT NULL,
  UNIQUE KEY `temp_index` (`temp_index`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `temps`
--

LOCK TABLES `temps` WRITE;
/*!40000 ALTER TABLE `temps` DISABLE KEYS */;
/*!40000 ALTER TABLE `temps` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2013-01-23 21:31:32
